<template>
  <div class="notFound">
    <img :src="avatar">
    <div class="title">访问的网页不存在...</div>
    <button @click="handleToHome">返回主页</button>
  </div>
</template>

<script lang="ts" src="./404.ts" />

<style lang="less" scoped>
.notFound {
  height: 100vh;
  background: url("./background.jpg");
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
img {
  width: 200px;
  border-radius: 50%;
}

.title {
  font-weight: bolder;
  font-style: italic;
  font-size: 24px;
  margin: 50px 0;
  color: #c78a89;
}

button {
  padding: 20px;
  font-weight: bolder;
  font-size: 20px;
  color: #ff7804;
  background: #ffffffa8;
  border: none;
  box-shadow: 0 2px 12px #00000050;
  cursor: pointer;
}
</style>
